package org.example.service.client;

import org.apache.dubbo.config.annotation.Reference;
import org.example.service.HelloService;
import org.springframework.stereotype.Component;

@Component
public class HelloClient {

    @Reference(timeout = 200)
    HelloService helloService;

    public String sayHello1(){
        return helloService.sayHello1();
    }
    public String sayHello2(){
        return helloService.sayHello2();
    }
    public String sayHello3(){
        return helloService.sayHello3();
    }

}

